package com.xiaoc.bulldozer.common.dto;

import java.util.List;

import com.xc.framework.common.page.PageDto;
import com.xc.framework.common.page.PageUtil;
import com.xiaoc.bulldozer.common.model.StatisticMonthly;

/**
 * StatisticMonthly 查询Dto
 *
 * @author Danfo Yam
 *
 * @date 2018-09-14 16:20:57
 */
public class StatisticMonthlyQueryDto extends StatisticMonthly {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 当前页码
     */
    private Integer page;

    /**
     * 总行数
     */
    private Integer totalCount;

    /**
     * 起始行
     */
    private Integer offset;

    /**
     * 每页行数
     */
    private Integer limit;
    
    /**
     * 开始时间
     */
    private String startTimeStr;

    /**
     * 结束时间
     */
    private String endTimeStr;
    
    private String name;
    
    private String phoneNumber;
    
    private Long startTime;
    
    private Long endTime;
    
    private String managerName;
    
    private String bankName;
    
    private String corpBankCode;
    
    private List<String> subBankCodeList;
    
    private Integer innerType;
    
    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
        int[] pager = PageUtil.getPager(page, PageDto.PAGE_SIZE);
        this.setOffset(pager[0]);
        this.setLimit(pager[1]);
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getCorpBankCode() {
        return corpBankCode;
    }

    public void setCorpBankCode(String corpBankCode) {
        this.corpBankCode = corpBankCode;
    }

    public List<String> getSubBankCodeList() {
        return subBankCodeList;
    }

    public void setSubBankCodeList(List<String> subBankCodeList) {
        this.subBankCodeList = subBankCodeList;
    }

    public Integer getInnerType() {
        return innerType;
    }

    public void setInnerType(Integer innerType) {
        this.innerType = innerType;
    }

}
